html,body{
    width: 100%;
    background-color: rgb(250,250,250);
}
.wrap{
    width: 100%;
    font-size: 14px;
    font-family: Arial;
}

/* 头部 */
.wrap .header{
    width: 100%;
    height: 29px;
    line-height: 29px;
    background-color: #f5f5f5;
    border-bottom: 1px solid #EAEAEA;
}
.header .w{
    display: flex;
    justify-content: space-between;
    background-color: #f5f5f5
}

/* 头部左边 */
.header .head-left a{
    display: inline-block;
    color: #00b388;
}
/* 头部右边 */
.header .head-right{
    display: flex;
    /* background-color: blue; */
}

.head-right p .icon{
    width: 5px;
    height: 4px;
    display: inline-block;
    vertical-align: middle;
    background-image: url(../images/top_button_blackarrow@2x.png);
    background-repeat: no-repeat;
    background-size: 5px 4px;
    transition: transform .1s;
}
.head-right > div:hover p .icon{
    transform: rotate(180deg);
}

.head-right > div p a{
    color: #333;
}

.head-right >div p a:hover{
    color: #00b388;
}

.head-right .child{
    position: relative;
}
.head-right .child p{
    font-size: 12px;
    margin-right: 20px;
}
.child .list{
    border: 1px solid #ccc;
    background-color: white;
    border-top: 0;
    padding: 5px 15px;
    position: absolute;
    top: 30px;
    right: 0;
    display: flex;
    z-index: 100;
    padding: 30px;
    display: none;
}
.head-right .child:hover .list{
    display: flex;
}
.child .list a{
    color: #333;
    display: inline-block;
    width: 150px;
}
.child .list a:hover{
    color: #FF8710;
}

.buy{
    position: relative;
}
.buy .imgbox{
    width: 326px;
    background-color: #fff;
    position: absolute;
    top: 30px;
    right: 0;
    box-shadow: 2px 2px 3px 2px rgba(0,0,0,.1);
    display: none;

}
.buy .imgbox img{
    margin: 10px 15px;
}
.buy:hover .imgbox{
    display: block;
}

/* 横幅 */
.top-img{
    background-color: #fff;
}
.top-img a{
    width: 100%;
}
.top-img img{
    width: 100%;
}

/* 搜索栏 */
.wrap .search{
    width: 100%;
    height: 112px;
    background-color: #fff;
}
.search > div{
    display: flex;
    justify-content: center;
    align-items: center;
}

.search .search-left{
    height: 112px;
    display: flex;
    align-items: center;
}
.search-left .logo{
    width: 146px;
    height: 112px;
    line-height: 112px;
}
.search-left .logo a{
    display:inline-block;
    width: 144px;
    height: 57px;
    background-image: url(../images/newlogo.png);
    background-position: 0 0;
    vertical-align: middle;
}
.search-left .pos{
    margin-left: 10px;
    position: relative;
}
.search-left .pos .curCity{
    color: #333;
    font-size: 17px;
}
.pos .curCity i{
    margin: 0 6px;
}
.search-left .pos .curCity .icon{
    display: inline-block;
    width: 9px;
    height: 5px;
    background-image: url(../images/course_icon_arrow@2x.png);
    transition: transform .1s;
    background-size: 9px 5px;
    vertical-align: middle;
}
.pos:hover .curCity .icon{
    transform: rotate(180deg);
    background-image: url(../images/course_icon_arrow_active@2x.png);
}
.pos:hover .cities{
    display: block;
}
.pos .cities{
    background-color: white;
    padding: 10px;
    border: 1px solid #ccc;
    position: absolute;
    top: 20px;
    left: 20px;
    display: none;
    z-index: 1000;
}
.pos .cities ul{
    width: 690px;
    display: flex;
    flex-wrap: wrap;
    padding: 10px 30px;
}
.pos .cities ul li{
    width: 330px;
    height: 25px;
    line-height: 25px;
    flex-shrink: 0;
}
.pos .cities ul li span{
    display: inline-block;
    color: rgb(112, 111, 111);
    padding: 0 3px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    border-radius: 5px;
    font-size: 14px;
}
.pos .cities ul li span.letter{
    color: #00b388;
    padding-right: 5px;
    font-size: 14px;
    user-select: none;
}
.pos .cities ul li a span:hover{
    color: orange;
}
 
.search .search-mid{
    flex-grow: 1;
    margin-left: 100px;
    margin-top: 20px;
}
.search-mid .mid-form{
    font-size: 0;
}
.mid-form input{
    width: 615px;
    height: 36px;
    border: 2px solid #00b388 ;
    padding: 3px 0 3px 10px;
    box-sizing: border-box;
    vertical-align: middle;
    font-size: 16px;
}
.mid-form .btn-sear{
    width: 90px;
    height: 36px;
    background-color: #00b388;
    color: white;
    font-size: 15px;
    font-weight: 500;
    vertical-align: middle;
    cursor: pointer;
}
.mid-list{
    margin-top: 5px;
}
.mid-list a{
    font-size: 12px;
    color: #333;
    margin-right: 5px;
}
.mid-list span{
    font-size: 12px;
    color: #333;
}
.mid-list a:hover{
    color: #f5a61b;
}
.mid-list a.active{
    color: #f5a61b;
}


/* 导航栏 */
.wrap .nav{
    position: relative;
    height: 450px;
    background-color: #fff;
}
.nav > div{
    height: 404px;
    /* display: flex;
    justify-content: space-between; */
    position: relative;
}

/* 顶部导航栏 */
.nav .nav-top{
    width: 100%;
    height: 44px;
    line-height: 44px;
    text-align: center;
}
.nav-top a{
    display: inline-block;
    font-size: 16px;
    color: #333;
    padding: 0 30px;
    position: relative;
}
.nav-top a:hover::after{
    content: "";
    width: 20px;
    height: 2px;
    background-color:#008a6c ;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-10px);
}
.nav-top a:hover{
    color: #008a6c;
}
/* 左边侧栏 */
.nav .nav-left{
    width: 160px;
    height: 100%;
    background-color:rgba(0,0,0,.7);
    /* position: relative; */
    color: white;
    position: absolute;
    top: 44px;
    left: 0;
    z-index: 100;
}
.nav-left .tit{
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    padding: 16px 0;
    position: relative;
}
.nav-left .tit::after{
    content: "";
    display: block;
    width: 100px;
    height: 0.5px;
    background-color: #c5c5c5;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
.nav-left ul{
    width: 100%;
    margin-top: 10px;
}
.nav-left ul > li{
    font-size: 12px;
    cursor: pointer;
}
.nav-left ul > li h3{
    width: 100%;
    height: 40px;
    line-height: 40px;
    padding: 0 30px;
    box-sizing: border-box;
    position: relative;
}
.nav-left ul > li  h3 a{
    display: inline-block;
    color: white;
    font-weight: 500;
}
.nav-left ul > li h3 .icon{
    display: inline-block;
    width: 5px;
    height: 9px;
    background-image: url(../images/772_20180522155354.png);
    background-size: 5px 9px;
    background-repeat: no-repeat;
    position: absolute;
    right: 30px;
    top: 16px;
}
.nav-left ul > li:hover{
    background-color: #fff;
}
.nav-left ul > li:hover h3 a{
    color: #008a6c;
}
.nav-left ul > li:hover h3 .icon{
    background-image: url(../images/course_icon_arrow_green@2x.png);
}
.nav-left ul > li:hover .lists{
    display: block;
}
.nav-left ul > li .lists{
    width: 600px;
    height: 400px;
    background-color: white;
    position: absolute;
    top: 50px;
    left: 160px;
    padding: 20px;
    display: none;
}
.nav-left .lists li{
    font-size: 15px;
    margin-bottom: 20px;
}
.nav-left .lists li p{
    color: #008a6c;
    margin-bottom: 10px;
}
.nav-left .lists li a{
    display: inline-block;
    color: rgb(80, 78, 78);
}
.nav-left .lists li a i{
    margin: 0 5px;
}
.nav-left .lists li a:hover{
    color: #008a6c;
    text-decoration: underline;
}

/* 轮播图 */
.nav .banner{
    position: absolute;
    top: 44px;
    left: 0;
    width: 100%;
}
.banner .img-box{
    width: 100%;
    overflow: hidden;
}
.banner ul{
    width: 1000%;
    display: flex;
}
.banner ul li{
    width: 10%;
}
.banner ul li a{
    display: block;
}
.banner ul li img{
    height: 404;
}

.banner .control{
    width: 100%;
    position: absolute;
    bottom: 20px;
    left: 0;
}
.control ol{
    width: 100%;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.control ol li{
    width: 8px;
    height: 8px;
    background-color: rgb(255, 255, 255);
    opacity: 0.59;
    border-radius: 4px;
    margin: 0 10px;
    cursor: pointer;
}
.control ol li.active{
    width: 20px;
    height: 8px;
    opacity: 1;
}

/* 活动 */
.activity{
    margin-top: 20px;
    margin-bottom: 20px;
}
.activity > div{
    display: flex;
    justify-content: space-between;
}
.activity .act-tab{
    width: 950px;
    display: flex;
}
.activity .act-tab a{
    display: block;
    width: 118px;
    height: 213px;
    overflow: hidden;
    transition: width .8s;
}
.activity .act-tab a.active{
    width: 597px;
}
.activity .act-tab a img{
    width: 597px;
    height: 213px;
}
.act-notice p{
    height: 28px;
    line-height: 28px;
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
}
.act-notice p .icon{
    display: inline-block;
    width: 28px;
    height: 28px;
    vertical-align: middle;
    background-image: url(../images/study_icon_pen@2x.png);
    background-repeat: no-repeat;
    background-size: 28px 28px;
}

.act-notice ul li.hot a{
    color: #0FA784;
}
.act-notice ul li a{
    display: block;
    width: 224px;
    height: 20px;
    line-height: 20px;
    font-size: 14px;
    color: #666;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.act-notice ul li a:hover{
    color: #0FA784;
}

/* 可复用的头部样式 */
.topping{
    width: 100%;
    height: 52px;
    background-size: 1200px 50px;
    padding: 0 40px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    position: relative;
}
.topping::after{
    content: "";
    width: 100%;
    height: 2px;
    opacity: .3;
    position: absolute;
    left: 0;
    bottom: 0;
}
.topping .top-left{
    display: flex;
}
.topping .top-left .top-tit{
    display: inline-block;
    height: 52px;
    line-height: 52px;
    font-size: 20px;
}
.topping .top-left .top-tab{
    margin-left: 30px;
}
.topping .top-left .top-tab a{
    display: inline-block;
    height: 50px;
    line-height: 50px;
    padding: 0 30px;
    text-align: center;
    position: relative;
}
.topping .top-left .top-tab a.cur{
    height: 52px;
    background-color: #fff;
    z-index: 100;
}
.topping .top-left .top-tab a.cur::after{
    content: "";
    width: 100%;
    height: 2px;
    opacity: .3;
    position: absolute;
    left: 0;
    top: 0;
}

.topping .top-right{
    display: flex;
}
.topping .top-right p{
    height: 52px;
    line-height: 52px;
    width: 80px;
    box-sizing: border-box;
    text-align: center;
    margin-left: 30px;
}
.topping .top-right p .icon{
    display: inline-block;
    width: 12px;
    height: 13px;
    background-repeat: no-repeat;
    background-size: cover;
    vertical-align: text-top;
    margin-right: 5px;
}
.common-list{
    width: 100%;
    /* height: 350px; */
    padding: 0 40px;
    box-sizing: border-box;
    background-color: #fff;
    margin-bottom: 10px;
}
.common-list .list-item{
    display: flex;
    padding: 20px 0 7px 0; 
    border-bottom: 1px solid #f4f7fa;
    box-sizing: border-box;
}
.list-item .item-time{
    width: 490px;
    height: 40px;
}
.list-item .item-time p:nth-child(1){
    height: 20px;
    line-height: 20px;
    color: #333;
    font-size: 14px;
}
.list-item .item-time p:nth-child(2){
    font-size: 12px;
    color: #999;
}
.list-item .item-price{
    width: 173px;
    font-size: 16px;
    color: #ff870f;
    height: 100%;
    line-height: 40px;
    font-family: sans-serif,PingFangSC,Microsoft Yahei!important;
}
.list-item .item-price span{
    font-size: 22px;
}
.list-item .item-pos{
    width: 361px;
    line-height: 40px;
    font-size: 16px;
}
.list-item .item-pos .icon{
    display: inline-block;
    width: 14px;
    height: 15px;
    background-image: url(../images/sch_icon_address.png);
    background-repeat: no-repeat;
    background-size: contain;
    margin-right: 6px;
}
.list-item .item-detail{
    width: 96px;
    height: 30px;
    border: 1px solid #0FA784;
    border-radius: 20px;
    text-align: center;
    line-height: 30px;
}
.list-item .item-detail a{
    color: #0FA784;
}
.list-item .item-detail:hover{
    border: 1px solid #008A6C;
}
.list-item .item-detail:hover a{
    color: #008A6C;
}

/* 信息 */
.common-info{
    width: 100%;
    height: 480px;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    padding: 16px 40px 40px 34px;
    box-sizing: border-box;
    margin-bottom: 20px;
}
.common-info .title{
    height: 32px;
    line-height: 32px;
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}
.common-info .title .icon{
    display: inline-block;
    width: 32px;
    height: 32px;
    vertical-align:middle;
    margin-top: -5px;
    background-size: cover;
    background-repeat: no-repeat;
}
.common-info p .icon-consult{
    background-image: url(../images/study_icon_point@2x.png);
}
.common-info p .icon-show{
    background-image: url(../images/study_icon_class@2x.png);
}
.common-info .info-left{
    width: 470px;
}

.info-left .info-list a{
    display: block;
    width: 470px;
    height: 20px;
    line-height: 20px;
    list-style: circle;
    color: #666;
    font-size: 14px;
    padding-left: 20px;
    position: relative;
    margin-bottom: 10px;
}
.info-left .info-list a::after{
    content: "";
    width: 4px;
    height: 4px;
    background-color: #ff870f;
    border-radius: 50%;
    position: absolute;
    left: 7px;
    top: 8px;
}
.info-left .info-list .hot,
.info-left .info-list a:hover{
    color: #ff870f;
}

.common-info .info-right{
    width: 600px;
}
.info-right .teacher-info{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.info-right .teacher-info a{
    display: block;
    width: 180px;
    height: 180px;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}
.info-right .teacher-info a img{
    width: 180px;
    height: 180px;
    transition: transform .5s;
}
.info-right .teacher-info a:hover img{
    /* width: 300px;
    height: 300px; */
    transform: scale(1.1);
}
.info-right .teacher-info a p{
    width: 180px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    color: #fff;
    font-size: 14px;
    background-color: rgba(0,0,0,.5);
    position: absolute;
    left: 0;
    bottom: 0;
}


/* 小学辅导 */
.xiaoxue .xiao-top{
    background-image: url(../images/p1_title_yellow_bg.png);
}
.xiao-top::after,
.xiao-top .top-left .top-tab a.cur::after{
    background-color: #ff870f;
}
.xiao-top .top-tit,
.xiao-top .top-left .top-tab a.cur,
.xiao-top .top-left .top-tab a:hover,
.xiao-top .top-right p{
    color: #ff870f;
}
.xiao-top .icon-more{
    background-image: url(../images/card_icon_time@3x.png);
}
.xiao-top .icon-tel{
    background-image: url(../images/button_icon_call@3x.png);
}

/* 中学辅导 */
.zhongxue .zhong-top{
    background-image: url(../images/p1_title_blue_bg.png);
}
.zhong-top::after,
.zhong-top .top-left .top-tab a.cur::after{
    background-color: #3d99df;
}
.zhong-top .top-tit,
.zhong-top .top-left .top-tab a.cur,
.zhong-top .top-left .top-tab a:hover,
.zhong-top .top-right p,
.zhongxue .info-left a.hot,
.zhongxue .info-left a:hover
{
    color: #3d99df;
}
.zhong-top .icon-more{
    background-image: url(../images/card_icon_time@3x1.png);
}
.zhong-top .icon-tel{
    background-image: url(../images/button_icon_call@3x1.png);
}

/* 大学考试 */
.daxue{
    margin-bottom: 20px;
}
.daxue .daxue-top{
    background-image: url(../images/p1_title_purple_bg.png);
}
.daxue-top::after,
.daxue-top .top-left .top-tab a.cur::after{
    background-color: #9e69cc;
}
.daxue-top .top-tit,
.daxue-top .top-left .top-tab a.cur,
.daxue-top .top-left .top-tab a:hover,
.daxue-top .top-right p{
    color: #9e69cc;
}
.daxue-top .icon-more{
    background-image: url(../images/card_icon_time@3x1.png);
}
.daxue-top .icon-tel{
    background-image: url(../images/button_icon_call@3x1.png);
}

/* 留学考试 */
.liuxue{
    margin-bottom: 20px;
}
.liuxue .liuxue-top{
    background-image: url(../images/p1_title_pink_bg.png);
}
.liuxue-top::after,
.liuxue-top .top-left .top-tab a.cur::after{
    background-color: #f07178;
}
.liuxue .top-tit,
.liuxue .top-left .top-tab a.cur,
.liuxue .top-left .top-tab a:hover,
.liuxue .top-right p{
    color: #f07178;
}
.liuxue-top .icon-more{
    background-image: url(../images/card_icon_time@3x3.png);
}
.liuxue-top .icon-tel{
    background-image: url(../images/button_icon_call@3x3.png);
}

/* 小语种 */
.xiaoyuzhong{
    margin-bottom: 20px;
}
.xiaoyuzhong .xiaoyuzhong-top{
    background-image: url(../images/p1_title_pink_bg.png);
}
.xiaoyuzhong-top::after,
.xiaoyuzhong-top .top-left .top-tab a.cur::after{
    background-color: #f07178;
}
.xiaoyuzhong .top-tit,
.xiaoyuzhong .top-left .top-tab a.cur,
.xiaoyuzhong .top-left .top-tab a:hover,
.xiaoyuzhong .top-right p{
    color: #f07178;
}
.xiaoyuzhong-top .icon-more{
    background-image: url(../images/card_icon_time@3x3.png);
}
.xiaoyuzhong-top .icon-tel{
    background-image: url(../images/button_icon_call@3x3.png);
}
/* 学校 */
.xiaoyuzhong .common-info{
    height: auto;
}
.xiaoyuzhong .info-left{
    width: 100%;
}
.xiaoyuzhong .icon-school{
    background-image: url(../images/study_icon_point_4.png);
}
.xiaoyuzhong .school-list{
    display: flex;
    justify-content: space-between;
}
.xiaoyuzhong .school-list a{
    display: block;
    text-align: center;
}
.xiaoyuzhong .school-list a:hover p{
    color: #008a6c;
}
.xiaoyuzhong .school-list img{
    width: 260px;
    height: 180px;
    margin-bottom: 10px;
}


/* 尾部 */
.footer{
    background-color: #f5f5f5;
}
.footer-links .links-title{
    padding: 30px 0 20px;
    border-bottom: 1px solid #999;
}
.footer-links .links-title img{
    height: 30px;
    margin-right: 10px;
}
.footer-links .links-title .line{
    margin-right: 10px;
}
.footer-links .links-list{
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid #999;
}
.footer-links .links-list ul{
    display: flex;
}
.footer-links .links-list ul li{
    width: 180px;
}
.footer-links .links-list li p{
    font-size: 16px;
    color: #333;
    margin-bottom: 11px;
}
.footer-links .links-list li a{
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 11px;
}
.footer-links .links-list li a:hover{
    color: #008a6c;
}
.footer-links .links-list .code{
    width: 100px;
    height: 100px;
}
.footer-links .links-list .code img{
    width: 100px;
    height: 100px;
}

.footer .footer-bottom{
    text-align: center;
    padding: 40px 80px;
}
.footer .footer-bottom p{
    font-size: 14px;
    color: #333;
    line-height: 25px;
}
.footer .footer-bottom p a:hover{
    color: #008a6c;
}
.footer .footer-bottom div {
    margin-top: 20px;
}
.footer .footer-bottom div > a{
    display: inline-block;
    margin-right: 40px;
}
.footer .footer-bottom img{
    height: 42px;
}
